import commonLayout from '@/layout/admin/common';
import mainLayout from '@/layout/admin/main';
export default [{
	path: "/platform",
	name: "Platform",
	meta: {
		title: "平台管理"
	},
	redirect: "/platform/setting",
	component: commonLayout,
	children: [{
		path: "setting",
		name: "PlatformSetting",
		meta: {
			title: "平台设置"
		},
		redirect: '/platform/setting/personalization',
		component: mainLayout,
		children: [{
			path: "personalization",
			name: "PlatformSettingPersonalization",
			meta: {
				title: "个性化设置"
			},
			component: () => import("@/views/admin/platform/setting/personalization/index")
		}, {
			path: "outandinlibrary",
			name: "PlatformSettingOutandinlibrary",
			meta: {
				title: "出入库设置"
			},
			component: () => import("@/views/admin/platform/setting/outandinlibrary/index")
		}, {
			path: "quotaconfig",
			name: "PlatformSettingQuotaconfig",
			meta: {
				title: "配额设置"
			},
			component: () => import("@/views/admin/platform/setting/quotaconfig/index")
		}, {
			path: "resourcelib",
			name: "PlatformSettingResourcelib",
			meta: {
				title: "资源库设置"
			},
			component: () => import("@/views/admin/platform/setting/resourcelib/index")
		}, {
			path: "datatreating",
			name: "PlatformSettingDatatreating",
			meta: {
				title: "数据处理"
			},
			component: () => import("@/views/admin/platform/setting/datatreating/index")
		}],
	}, {
		path: "license",
		name: "License",
		meta: {
			title: "授权配置"
		},
		component: () => import("@/views/admin/platform/license/index")
	}, {
		path: "log",
		name: "PlatformLog",
		meta: {
			title: "日志管理"
		},
		component: () => import("@/views/admin/platform/log/index")
	}, {
		path: "domain",
		name: "PlatformDomain",
		meta: {
			title: "网域管理"
		},
		component: () => import("@/views/admin/platform/domain/index")
	}, {
		path: "appplugin",
		name: "PlatformAppplugin",
		meta: {
			title: "应用插件"
		},
		component: () => import("@/views/admin/platform/appplugin/index")
	}, {
		path: "announcement",
		name: "PlatformAnnouncement",
		meta: {
			title: "通知公告"
		},
		component: () => import("@/views/admin/platform/notice/index")
	}, {
		path: "announcement/:id",
		name: "PlatformAnnouncementDetail",
		meta: {
			title: "通知详情"
		},
		component: () => import("@/views/admin/platform/notice/detail")
	}, {
		path: 'portraitLibrary',
		name: 'PlatformPortraitlibrary',
		meta: {
			title: '人像库'
		},
		component: () => import("@/views/admin/platform/portraitLibrary/index")
	}]
}]